package com.ravi.core.patient;

import com.ravi.core.config.PatientPriority;
import com.ravi.entity.PatientQueueInfo;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class VipPatient extends BasePatient{
	private Integer patientId;

	private String name;

	private String sex;

	private Integer queueId;

	private Integer planId;

	public VipPatient(PatientQueueInfo queueInfo) {
		this.patientId = queueInfo.getPatientId();
		this.name = queueInfo.getName();
		this.sex = queueInfo.getSex();
		this.queueId = queueInfo.getQueueId();
		this.planId = queueInfo.getPlanId();
		this.setPriority(PatientPriority.VIP);
		super.setId(queueInfo.getPatientId());
	}

	@Override
	public String toString() {
		return name + "--" + sex + "--" + "VIP";
	}
}
